package core.modules;

import android.util.Log;

/**
 * @author  GlennMark Arnobit
 *
 */
public class Utilities {

	public static void Tracer(Class<?> c, String username, int role) {
		
		try {
			Log.i("Class - ", c.getName());
			
			Log.i("Username - ", username);
			
			if (role == 0) {
				Log.e("Role - ", "instructor");
			} else if (role == 1) {
				Log.i("Role - ", "student");
			} else {
				Log.i("UID", String.valueOf(role));
			}
			
		} catch (Exception e) {
			Log.wtf("WTF", "Unknown error occurred?");
		}
		
	}
}
